<div class="am-u-sm-12 widget main-w">
	<ol class="am-breadcrumb">
		<li>
			<a href="{:url('/admin/index')}">首页</a>
		</li>
		<li>
			<a href="{:url('index')}">调度中心</a>
		</li>
		<li>
			<a href="{:url('index')}">查看订单</a>
		</li>
		<li class="am-active">派车</li>
	</ol>
	<form class="am-form tpl-form-border-form" data-check="1" data-ajax="1">
		<div class="am-u-sm-10">
			<div class="am-u-sm-12 cl-p">
				<fieldset>
					<legend>订单信息</legend>
					<div class="am-u-sm-4 cl-p">
						<div class="am-u-sm-12">
							<div class="am-fl">订单号：</div>
							<div class="am-fl order_no"></div>
							
						</div>
						<div class="am-u-sm-12">
							<div class="am-fl">订单状态：</div>
							<div class="am-fl order_state2"></div>
						</div>
						<div class="am-u-sm-12">
							<div class="am-fl">订单类型：</div>
							<div class="am-fl order_type2"></div>
							
						</div>
						<div class="am-u-sm-12">
							<div class="am-fl">下单时间：</div>
							<div class="am-fl order_time"></div>
						</div>
						<div class="am-u-sm-12">
							<div class="am-fl">预计费用：</div>
							<div class="am-fl pre_fee"></div>元
						</div>
					</div>
					<div class="am-u-sm-4 cl-p">
						<div class="am-u-sm-12">
							<div class="am-fl">下单人：</div>
							<div class="am-fl orderer"></div>
							
						</div>
						<div class="am-u-sm-12">
							<div class="am-fl">乘客：</div>
							<div class="am-fl passenger_name"></div>
						</div>
						<div class="am-u-sm-12">
							<div class="am-fl">乘客电话：</div>
							<div class="am-fl passenger_phone"></div>
							
						</div>
						<div class="am-u-sm-12">
							<div class="am-fl">审批员：</div>
							<div class="am-fl approval"></div>
						</div>
						<div class="am-u-sm-12">
							<div class="am-fl">用车类型：</div>
							<div class="am-fl use_type2"></div>
						</div>
					</div>
					<div class="am-u-sm-4 cl-p">
						<div class="am-u-sm-12">
							<div class="am-fl">订车类型：</div>
							<div class="am-fl booking_type2"></div>
							
						</div>
						<div class="am-u-sm-12">
							<div class="am-fl">预约时间：</div>
							<div class="am-fl plan_time"></div>
						</div>
						<div class="am-u-sm-12">
							<div class="am-fl">乘车单位：</div>
							<div class="am-fl company_name"></div>
							
						</div>
						<div class="am-u-sm-12">
							<div class="am-fl">车型：</div>
							<div class="am-fl car_type_name"></div>
						</div>
						<div class="am-u-sm-12 pre_meter_w">
							<div class="am-fl">预估里程：</div>
							<div class="am-fl pre_meter"></div>公里
						</div>
					</div>
					<div class="am-u-sm-12 cl-p">
						<div class="am-u-sm-12">
							<div class="am-fl">出发地：</div>
							<div class="am-fl from_addr"></div> <span  class="show_map" style="padding: 10px;cursor: pointer;"><i class="am-icon-map-o am-icon-fw"></i></span>
						</div>
						<div class="am-u-sm-12">
							<div class="am-fl">目的地：</div>
							<div class="am-fl to_addr"></div><span class="show_map" style="padding: 10px;cursor: pointer;"><i class="am-icon-map-o am-icon-fw"></i></span>
						</div>
					</div>
				</fieldset>
			</div>
			<div class="am-u-sm-12 cl-p">
				<div class="am-u-sm-12 cl-p">
					<fieldset>
						<legend>车辆信息</legend>
						<div class="dispatch1">
						<div class="am-u-sm-12 cl-p ">
							
							<div class="am-u-sm-6">
								<div class="am-u-sm-5 cl-p">司机：</div>
								<div class="am-u-sm-7 driver">{$item.driver}</div>
								<input type="hidden" class="driver_id" name="driver_id"/>
								<input type="hidden" class="redispatch" name="redispatch" value="0"/>
								<input type="text" class="am-form-field tpl-form-no-bg driver" style="line-height: 21px;" data-department="1" data-check='require' data-msg="请选择司机"  placeholder="请选择司机" readonly="" >
							</div>
							
						</div>
						<div class="am-u-sm-12 cl-p">
							<div class="am-u-sm-6">
								<div class="am-u-sm-5 cl-p">车牌号：</div>
								<input type="hidden" class="CarId" name="car_id"/>
								<input type="text" class="am-form-field tpl-form-no-bg car_number" style="line-height: 21px;" data-department="1"  placeholder="请选择车辆" readonly="" >
							</div>

						</div>
						</div>
						
					</fieldset>
				</div>
				<div class="am-u-sm-12" style="margin: 20px 0;text-align: center;">
					<input name="order_state" type="hidden" value="5"/>
					<button type="button" class="am-btn am-btn-sm am-btn-secondary am-radius dispatch-btn1">派车</button>
					<button type="button" class="am-btn am-btn-sm am-btn-secondary am-radius dispatch-btn2" style="display: none;">改派</button>
				</div>
			</div>
		</div>
	</form>
	
</div>
<script type="text/html" id="choose">
	<a class="layui-btn layui-btn-xs" lay-event="choose">选中</a>
</script>
<script type="text/html" id="relevance">
	<span class='cartype_and_number'>{{d.cartype_and_number}}</span><span style="padding: 0 10px;"><a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="car_change">切换</a></span>
</script>
<script type="text/javascript" src="http://webapi.amap.com/maps?v=1.4.2&key={:config('base.mapkey')}&plugin=AMap.Driving"></script>
<script src="//webapi.amap.com/ui/1.0/main.js?v=1.0.11"></script>